package com.example.actearly_revised;

import java.util.HashMap;
import java.util.Map;


public class QuestionsObject {
		
	
	
	public Map<String, Node> newMap;
		
	public QuestionsObject(){
		newMap = new HashMap<String, Node>();
	}
	

	public void put(String QuestionID, String Question, int milestone, int Urgency, String category, int q_id){
		newMap.put(QuestionID, new Node(milestone,Question,Urgency,category, q_id));
	}
	
	public Node getQuestions(String QuestionID){
		return newMap.get(QuestionID);
	}

	public int count()
	{
		return newMap.size();
	}
	
	public Map<String, Node> getMap(){
		return newMap;
	}
	
	
}
